#include<iostream>
using namespace std;
#include<set>

int main(){
	set<int> s1;
	pair<set<int>::iterator,bool> temp = s1.insert(10);
	cout<<*(temp.first)<<endl;
	cout<<temp.second<<endl;
	
	pair<set<int>::iterator,bool> temp1 = s1.insert(10);
	cout<<*(temp1.first)<<endl;
	cout<<temp1.second<<endl;
	
	multiset<int> muls;
	muls.insert(10);
	muls.insert(10);
	
	cout<<"the mulset data is:"<<endl;
	for(auto it = muls.begin();it!=muls.end();it++){
		cout<<*it<<endl;
	}
	return 0;
}